package com.yf.modules.system.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yf.annotation.ColumnRemark;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author chentianwei
 * @date 2024-05-20 11:32
 * @description 菜单树View Object
 */
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class MenuVo implements Serializable {

    //菜单名称
    private String name;

    //菜单路径
    private String path;

    //是否隐藏
    private Boolean hidden;

    //重定向地址
    private String redirect;

    //组件名称
    private String component;

    //是否总是显示
    private Boolean alwaysShow;

    //图标子信息
    private MenuMetaVo meta;

    //子节点
    private List<MenuVo> children;
}
